home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / e / AEPD09.lha / EPD09 / Amiga_E-Programme / ESEE / InstallESEE < prev    next >
Text File  |  1994-08-18  |  4KB  |  121 lines

  1. ; ESEE 1.0 Installation Script for AmigaDOS.
  2. ; $VER InstallESEE 1.0b (9.12.93)
  3.  
  4. Echo ""
  5. Echo "E Source Edit Environment (ESEE) 1.0 Installation Script 1.0b"
  6. Echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  7. Assign EXISTS NAME "GOLDED:" >NIL:
  8. If NOT WARN
  9.   If EXISTS "LIBS:reqtools.library"
  10.     If EXISTS "LIBS:amigaguide.library"
  11.       Echo "Be sure you have read the guide about ESEE requirements."
  12.       Ask PROMPT "Shall I proceed installation procedure? (Yes/No)"
  13.       If WARN
  14.         Echo "Proceeding installation..."
  15.         Echo ""
  16.  
  17.         ; GoldED prefs dir
  18.         ; ~~~~~~~~~~~~~~~~
  19.         
  20.         If NOT EXISTS "ENVARC:GoldED"
  21.           Echo "Making *"ENVARC:GoldED*" directory..."
  22.           MakeDir "ENVARC:GoldED"
  23.         EndIf
  24.  
  25.         ; ESEE prefs to ENVARC:
  26.         ; ~~~~~~~~~~~~~~~~~~~~~
  27.         
  28.         Ask PROMPT "Must ESEE become the default configuration for GoldED? (Yes/No)"
  29.         If WARN
  30.           If EXISTS ENVARC:GoldED/GoldED.prefs
  31.             Echo "Moving *"GoldED.prefs*" to *"YourOldGoldED.prefs*"..."
  32.             Copy FROM "ENVARC:GoldED/GoldED.prefs" TO "ENVARC:GoldED/YourOldGoldED.prefs" QUIET
  33.             Delete "ENVARC:GoldED/GoldED.prefs" QUIET
  34.           EndIf
  35.           Echo "Copying the ESEE configuration to *"ENVARC:GoldED/GoldED.prefs*"..."
  36.           Copy FROM "Env/GoldED/ESEE.prefs" TO "ENVARC:GoldED/GoldED.prefs" QUIET
  37.         Else
  38.           If EXISTS ENVARC:GoldED/ESEE.prefs
  39.             Echo "Moving *"ESEE.prefs*" to *"YourOldESEE.prefs*"..."
  40.             Copy FROM "ENVARC:GoldED/ESEE.prefs" TO "ENVARC:GoldED/YourOldESEE.prefs" >NIL:
  41.             Delete "ENVARC:GoldED/ESEE.prefs" QUIET
  42.           EndIf
  43.           Echo "Copying the ESEE configuration to *"ENVARC:GoldED/ESEE.prefs*"..."
  44.           Copy FROM "Env/GoldED/ESEE.prefs" TO "ENVARC:GoldED/ESEE.prefs" QUIET
  45.         EndIf
  46.  
  47.         ; ESEE prefs to ENV:
  48.         ; ~~~~~~~~~~~~~~~~~~
  49.  
  50.         If NOT EXISTS "ENV:GoldED"
  51.           Echo "Making *"ENV:GoldED*" directory..."
  52.           MakeDir "ENV:GoldED"
  53.         EndIf
  54.  
  55.         Echo "Copying the GoldED environment settings to *"ENV:GoldED/*"..."
  56.         Copy FROM "ENVARC:GoldED" TO "ENV:GoldED" ALL QUIET
  57.  
  58.         ; Online Guide
  59.         ; ~~~~~~~~~~~~
  60.  
  61.         Echo "Copying the ESEE online guide to *"GoldED:ESEE.guide*"..."
  62.         Copy FROM "ESEE.guide#?" TO "GOLDED:" ALL QUIET
  63.  
  64.         ; ARexx Scripts
  65.         ; ~~~~~~~~~~~~~
  66.  
  67.         If NOT EXISTS GOLDED:ARexx
  68.           Echo "Making *"GoldED:ARexx*" directory..."
  69.           MakeDir "GOLDED:ARexx"
  70.         EndIf
  71.  
  72.         Echo "Copying ARexx scripts to *"GoldED:Parsers/*"..."
  73.         Copy FROM "GoldED/ARexx" TO "GOLDED:ARexx" ALL QUIET
  74.  
  75.         ; Assembled Parsers
  76.         ; ~~~~~~~~~~~~~~~~~
  77.  
  78.         If NOT EXISTS GOLDED:Parsers
  79.           Echo "Making *"GoldED:Parsers*" directory..."
  80.           MakeDir "GOLDED:Parsers"
  81.         EndIf
  82.  
  83.         Echo "Copying the parsers to *"GoldED:Parsers/*"..."
  84.         Copy FROM "GoldED/Parsers" TO "GOLDED:Parsers" ALL QUIET
  85.  
  86.         ; References
  87.         ; ~~~~~~~~~~
  88.  
  89.         If NOT EXISTS GOLDED:References
  90.           Echo "Making *"GoldED:References*" directory..."
  91.           MakeDir "GOLDED:References"
  92.         EndIf
  93.  
  94.         Echo "Copying the reference file to *"GoldED:References/*"..."
  95.         Copy FROM "GoldED/References" TO "GOLDED:References" ALL QUIET
  96.  
  97.         Echo ""
  98.         Echo "All done. Installation completed."
  99.         Echo ""
  100.       Else
  101.         Echo "Installation aborted..."
  102.         Echo ""
  103.       EndIf
  104.     Else
  105.       Echo "ESEEs online help feature needs the AmigaGuide library. First install"
  106.       Echo "AmigaGuide onto your system. Then run this installation again."
  107.       Echo ""
  108.     EndIf
  109.   Else
  110.     Echo "It seems that GoldED is properly installed. However, GoldED needs the"
  111.     Echo "ReqTools library. First install Reqtools onto your system. Then run"
  112.     Echo "this installation again."
  113.     Echo ""
  114.   EndIf
  115. Else
  116.   Echo "It seems that GoldED is not properly installed, as the *"GoldED:*" assign is"
  117.   Echo "not present. Please install GoldED or assign *"GoldED:*" to the directory"
  118.   Echo "where it is located. Then run this installation again."
  119.   Echo ""
  120. EndIf
  121.